﻿@{
    Layout = "";  
}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>CAOS</title>
    <link href="@Url.Content("~/Content/screen.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.8.2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/ViewScript/_Layout.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/Plugins/loading/js/jquery.showLoading.min.js")"
        type="text/javascript"></script>
    <link href="../../Content/Plugins/loading/css/showLoading.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/Plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet"
        type="text/css" />
</head>
<body id="login-bg">
    <div id="login-holder">
        <div id="logo-login">
            <center>
                <h4 style="color: White">
                    CAOS - Controle de Acesso Orientado a Serviços
                </h4>
            </center>
        </div>
        <div class="clear">
        </div>
        @using (Html.BeginForm())
        {
            <div id="loginbox">
                <div id="login-inner">
                    <center>
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <th style="padding-bottom: 20px">
                                    Sistema:
                                </th>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    @Html.DropDownList("SistemaID", (SelectList)ViewBag.SistemaID, "Selecione um sistema.")
                                </td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <input type="submit" class="btn btn-large btn-inverse" value="Entrar" />
                                </td>
                            </tr>
                        </table>
                    </center>
                </div>
                <div class="clear">
                </div>
            </div>
            <div style="width: 100%">
                <center>
                    <h4 style="color: Red">@ViewBag.Mensagem</h4>
                </center>
            </div>
        }
    </div>
    <script type="text/javascript">
        $("#SistemaID").focus();
        $('form').submit(function () { jQuery('#loginbox').showLoading(); });
    </script>
</body>
</html>
